home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 24
/
Mac Magazin and MacEasy Magazine CD - Issue 24.iso
/
Wissenschaft & Technik
/
Joint
/
Examples
/
Stewart Platform
/
Stewart.Exp
< prev
next >
Wrap
Text File
|
1995-10-25
|
3KB
|
183 lines
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
light_source {<-2,3,-2> color White} // Grundlichtquelle
camera {
location <-2,1,-4>
direction<0,0,3.2>
look_at <0,0.55,0>
}
#declare texpl=texture{pigment {color Blue} finish{phong 1 ambient 0.4}}
#declare texbase=texture{pigment {color Red} finish{phong 1 ambient 0.4}}
#declare texsp=texture{pigment {color Red} finish{phong 1 ambient 0.4}}
#declare texac1=texture{pigment {color LightSteelBlue} finish{phong 1 ambient 0.4}}
#declare texac2=texture{pigment {color Silver}
finish{phong 1 ambient 0.4}}
#declare rsp=0.025
#declare rz1=0.02
#declare rz2=0.012
#declare rc1=0.012
plane{
-y,0.08
texture{pigment {color Gray} finish{ambient 0.4}}
}
cylinder{
<0.35526,0.78176,0.63349>,<0.5,0,0>,rz2
texture{texac2}
}
cylinder{
<-0.58847,0.45374,0.59128>,<0,0,0.86603>,rz2
texture{texac2}
}
cylinder{
<-0.069753,0.59418,-0.25205>,<-0.5,0,0>,rz2
texture{texac2}
}
cylinder{
<0.35526,0.78176,0.63349>,(<0.35526,0.78176,0.63349>+<0.5,0,0>)/2,rz1
texture{texac1}
}
cylinder{
<-0.58847,0.45374,0.59128>,(<-0.58847,0.45374,0.59128>+<0,0,0.86603>)/2,rz1
texture{texac1}
}
cylinder{
<-0.069753,0.59418,-0.25205>,(<-0.069753,0.59418,-0.25205>+<-0.5,0,0>)/2,rz1
texture{texac1}
}
cylinder{
<-0.069753,0.59418,-0.25205>,<0.5,0,0>,rz2
texture{texac2}
}
cylinder{
<0.35526,0.78176,0.63349>,<0,0,0.86603>,rz2
texture{texac2}
}
cylinder{
<-0.58847,0.45374,0.59128>,<-0.5,0,0>,rz2
texture{texac2}
}
cylinder{
<-0.069753,0.59418,-0.25205>,(<-0.069753,0.59418,-0.25205>+<0.5,0,0>)/2,rz1
texture{texac1}
}
cylinder{
<0.35526,0.78176,0.63349>,(<0.35526,0.78176,0.63349>+<0,0,0.86603>)/2,rz1
texture{texac1}
}
cylinder{
<-0.58847,0.45374,0.59128>,(<-0.58847,0.45374,0.59128>+<-0.5,0,0>)/2,rz1
texture{texac1}
}triangle{
<0.35526,0.78176,0.63349>,
<-0.58847,0.45374,0.59128>,
<-0.069753,0.59418,-0.25205>
texture{texpl}
}
triangle{
<0.32263,0.87619,0.62915>,
<-0.6211,0.54817,0.58694>,
<-0.10238,0.68861,-0.25639>
texture{texpl}
}
triangle{
<0.35526,0.78176,0.63349>,
<0.32263,0.87619,0.62915>,
<-0.58847,0.45374,0.59128>
texture{texpl}
}
triangle{
<0.32263,0.87619,0.62915>,
<-0.58847,0.45374,0.59128>,
<-0.6211,0.54817,0.58694>
texture{texpl}
}
triangle{
<-0.58847,0.45374,0.59128>,
<-0.6211,0.54817,0.58694>,
<-0.069753,0.59418,-0.25205>
texture{texpl}
}
triangle{
<-0.6211,0.54817,0.58694>,
<-0.069753,0.59418,-0.25205>,
<-0.10238,0.68861,-0.25639>
texture{texpl}
}
triangle{
<-0.069753,0.59418,-0.25205>,
<-0.10238,0.68861,-0.25639>,
<0.35526,0.78176,0.63349>
texture{texpl}
}
triangle{
<-0.10238,0.68861,-0.25639>,
<0.35526,0.78176,0.63349>,
<0.32263,0.87619,0.62915>
texture{texpl}
}
sphere{
<0.35526,0.78176,0.63349>,rsp
texture{texsp}
}
sphere{
<-0.58847,0.45374,0.59128>,rsp
texture{texsp}
}
sphere{
<-0.069753,0.59418,-0.25205>,rsp
texture{texsp}
}
sphere{
<0.5,0,0>,rsp
texture{texsp}
}
sphere{
<0,0,0.86603>,rsp
texture{texsp}
}
sphere{
<-0.5,0,0>,rsp
texture{texsp}
}
cone{
<0.5,0,0>,rc1,<0.5,-0.1,0>,rsp
texture{texbase}
}
cone{
<0,0,0.86603>,rc1,<0,-0.1,0.86603>,rsp
texture{texbase}
}
cone{
<-0.5,0,0>,rc1,<-0.5,-0.1,0>,rsp
texture{texbase}
}